package pass;

public class student extends jicheng{//子类继承父类
    //拓展子类
    private int sno;

    public int getSno() {
        return sno;
    }

    public void setSno(int sno) {
        this.sno = sno;
    }
    //学习
    public void setstudy()
    {
        System.out.println("我爱学习");
    }
}
